package cn.laixueit.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HelloController {

    @RequestMapping("/hello")
    public String hello(){
        System.out.println("1");
        try {
            int i = 1/0;
        }catch (Exception e) {
            throw new RuntimeException("发送异常了");
        }
        System.out.println("3");
        return "a";
    }

}
